﻿<%@ Page Title="Your Account" Language="C#" MasterPageFile="~/masters/Default.master" AutoEventWireup="true" CodeFile="MyAccount.aspx.cs" Inherits="templates_Accounts_MyAccount" Theme="Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" Runat="Server">
    
    <script type="text/javascript" src="/js/ui.stars.js"></script>
	<script type="text/javascript">
	
	    function RatingUpdate(ui, type, value) {
	        jQuery(".StarRatings-Button").trigger('click');
	    }
	    
	    jQuery().ready(function() {
	        jQuery(".multiField").children().hide();
	        jQuery("#StarRatings").stars({ inputType: "select", callback: RatingUpdate });
	    });
	</script>
	
    <style type="text/css">
    
        #content-page-header
        {
            float: left;
        }
        
        #content-page-rating
        {
            width: 100px;
            float: right;
        }
        
        .StarRatings-Button
        {
            display: none;
        }
        
        .StarRatings-Results
        {
            font-size: 10px;
            text-align: right;
            padding-right: 5px;
        }
    
    </style>
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Body" Runat="Server">
    
    <div class="breadcrumb"><a href="/">home</a> &gt; My Account</div>
    
    
    <div id="content-page-heading">
    
        <div id="content-page-header">
            <h1>
                Your Account</h1>
        </div>
        
        <div id="content-page-rating">
            <div class="multiField" id="StarRatings">
                <p class="blockLabel">
                    <asp:DropDownList ID="Rating" EnableViewState="false" runat="server">
                        <asp:ListItem Text="Not Applicable" Value="0" Selected="True" />
                        <asp:ListItem Text="Not So Good" Value="1" />
                        <asp:ListItem Text="Quite Good" Value="2" />
                        <asp:ListItem Text="Good" Value="3" />
                        <asp:ListItem Text="Great!" Value="4" />
                        <asp:ListItem Text="Excellent!" Value="5" />
                    </asp:DropDownList>
                    <asp:Button ID="StarRatingsBtn" runat="server" OnClick="StarRatings_Click" CssClass="StarRatings-Button" />
                </p>
            </div>
            <div class="StarRatings-Results">
                (5148 votes: 4.83)
            </div>
        </div>
        
        <div class="clear"></div>
    
    </div>
    
    <asp:Literal ID="Msg" EnableViewState="false" runat="server" />
    
</asp:Content>

